package xs12;

public class News {
	int id = 0;
	String authorName = null;
	String newsTitle = null;

	public News(int id, String name, String newsTitle) {
		this.id = id;
		this.authorName = name;
		this.newsTitle = newsTitle;
	}

	public int getId() {
		return id;
	}

	public String getAuthorName() {
		return authorName;
	}

	public String getNewsTitle() {
		return newsTitle;
	}
}
